package com.jingtai.core.entity.pay;


import com.baomidou.mybatisplus.annotation.TableName;
import com.jingtai.core.entity.BaseEntity;
import com.jingtai.validate.swagger.CApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

import io.swagger.annotations.*;

import java.math.BigDecimal;

import java.util.Date;

/**
 * 支付订单表
 * 
 * @author sunlaiqian
 * @date 2020-12-02 15:08:11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("shop_pay_order")
@ApiModel(value = "支付订单表", description = "支付订单表")
public class PayOrder  extends BaseEntity implements Serializable {




	/**
	 * 用户ID
	 */
	@CApiModelProperty(value = "用户ID")
	private Long memberId;

	/**
	 * 订单编号
	 */
	@CApiModelProperty(value = "订单编号")
	private String orderCode;

	/**
	 * 订单金额
	 */
	@CApiModelProperty(value = "订单金额")
	private BigDecimal orderPrice;

	/**
	 * 运费
	 */
	@CApiModelProperty(value = "运费")
	private BigDecimal freight;

	/**
	 * 支付金额
	 */
	@CApiModelProperty(value = "支付金额")
	private BigDecimal payPrice;

	/**
	 * 支付流水号
	 */
	@CApiModelProperty(value = "支付流水号")
	private String peyRunningCode;

	/**
	 * 来源 0：供应商1：自营
	 */
	@CApiModelProperty(value = "来源 0：供应商1：自营")
	private Integer source;

	/**
	 * 支付方式  0：微信1：支付宝
	 */
	@CApiModelProperty(value = "支付方式  0：微信1：支付宝")
	private Integer payTime;


}
